import request from '@/utils/ruizhiRequest'
// 查询短讯息
export const RetrieveMessage = (msg, page, page_size) => {
  return request({
    url: '/v1/admin/shortMessage/retrieve/',
    method: 'get',
    params: { msg, page, page_size },
  })
}

// 更新短讯息
export const UpdateMessage = (data) => {
  return request({
    url: '/v1/admin/shortMessage/update/',
    method: 'put',
    data,
  })
}
